//
//  SearchBusiness.h
//  爱尚e购
//
//  Created by Mario on 15/1/27.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SearchBusiness : NSObject

@property (nonatomic, assign)NSInteger avg_price;             // 人均价格
@property (nonatomic, assign)NSInteger review_count;          // 点评数量
@property (nonatomic, retain)NSString *review_list_url;       // 点评页面URL链接
@property (nonatomic, assign)NSInteger distance;              // 商户于参数坐标的距离
@property (nonatomic, retain)NSString *business_url;          // 商户页面链接
@property (nonatomic, retain)NSString *photo_url;             // 照片链接
@property (nonatomic, retain)NSString *s_photo_url;           // 小尺寸照片链接
@property (nonatomic, assign)NSInteger photo_count;           // 照片数量
@property (nonatomic, retain)NSString *photo_list_url;        // 照片页面URL链接
@property (nonatomic, assign)NSInteger has_coupon;            // 是否有优惠券
@property (nonatomic, assign)NSInteger coupon_id;             // 优惠券ID
@property (nonatomic, retain)NSString *coupon_description;    // 优惠券描述
@property (nonatomic, retain)NSString *coupon_url;            // 优惠券页面链接
@property (nonatomic, assign)NSInteger has_deal;              // 是否有团购
@property (nonatomic, assign)NSInteger deal_count;            // 商户当前在线团购数量
@property (nonatomic, retain)NSMutableArray *deals;                 // 团购列表
// deals数组包含(id, description, url)
@property (nonatomic, retain)NSString *id;              // 团购ID
@property (nonatomic, retain)NSString *Description;     // 团购描述
@property (nonatomic, retain)NSString *url;             // 团购页面链接
@property (nonatomic, assign)NSInteger has_online_reservation;// 是否有在线预订
@property (nonatomic, retain)NSString *online_reservation_url;// 在线预订页面链接
@property (nonatomic, assign)NSInteger business_id;           // 商户ID
@property (nonatomic, retain)NSString *name;                  // 商户名
@property (nonatomic, retain)NSString *branch_name;           // 分店名
@property (nonatomic, retain)NSString *address;               // 地址
@property (nonatomic, retain)NSString *telephone;             // 带区号的电话
@property (nonatomic, retain)NSString *city;                  // 所在城市
@property (nonatomic, retain)NSMutableArray *regions;               // 所在区域信息列表
@property (nonatomic, retain)NSMutableArray *categories;            // 所属分类信息列表
@property (nonatomic, assign)float latitude;                  // 纬度坐标
@property (nonatomic, assign)float longitude;                 // 经度坐标
@property (nonatomic, assign)float avg_rating;                // 星级评分 5.0代表五星
@property (nonatomic, retain)NSString *rating_img_url;        // 星级图片链接
@property (nonatomic, retain)NSString *rating_s_img_url;      // 小尺寸星级图片链接
@property (nonatomic, assign)NSInteger product_grade;         // 产品/食品口味评价
@property (nonatomic, assign)NSInteger decoration_garde;      // 环境评价
@property (nonatomic, assign)NSInteger service_garde;         // 服务评价
@property (nonatomic, assign)float product_score;             // 产品/食品口味评价单项分
@property (nonatomic, assign)float decoration_score;          // 环境评价单项分
@property (nonatomic, assign)float service_score;             // 服务评价单项分

@end
